package com.example.secondhandspringboot.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class CommentsVO {
    private Long id;
    private Long userId;
    private String content;
    private String userName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    //评论时间
    private LocalDateTime createTime;
    //用户头像
    private String userPic;
    //是否是卖家本人
    private boolean isSeller = false;
    //是否是本人评论
    private boolean isSelfOne = true;
}
